import axios from "axios";
let list = (params) => axios.get('/notice/list', { params });
let stick = (data) => axios.post('/notice/stick', data);
let remove = (data) => axios.post('/notice/remove', data);
let add = (data) => axios.post('/notice/release', data);
let detail = (params) => axios.get('/notice/detail', { params });
let edit = (data) => axios.post('/notice/edit', data);
export default {
    list, stick, remove, add, detail, edit
}